package com.hxzy.common.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 通用分页请求参数
 */
@Getter
@Setter
@ApiModel(value = "分页查询模型")
public class PageReq {

    @ApiModelProperty(value = "当前第几页",example = "1",required = true)
    private Integer page;

    @ApiModelProperty(value = "每页几笔",example = "10",required = true)
    private Integer size;
}
